package com.cr.crsystem.system.mapper;

import com.cr.crsystem.system.entity.Rent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cr.crsystem.system.vo.RentCarVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author su
 * @since 2022-06-21
 */
@Mapper
public interface RentMapper extends BaseMapper<Rent> {

    List<RentCarVo> getPersonRent(@Param("userId") Integer userId);

    List<RentCarVo> getPersonOrder(@Param("userId") Integer userId);

}
